<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Initializing libcheese-gtk: Cheese Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Cheese Reference Manual">
<link rel="up" href="libcheese-gtk.html" title="libcheese-gtk">
<link rel="prev" href="libcheese-gtk.html" title="libcheese-gtk">
<link rel="next" href="CheeseAvatarChooser.html" title="CheeseAvatarChooser">
<meta name="generator" content="GTK-Doc V1.29.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#cheese-Initializing-libcheese-gtk.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libcheese-gtk.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libcheese-gtk.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="CheeseAvatarChooser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="cheese-Initializing-libcheese-gtk"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="cheese-Initializing-libcheese-gtk.top_of_page"></a>Initializing libcheese-gtk</span></h2>
<p>Initializing libcheese-gtk — Initialize libcheese-gtk</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.stability-level"></a><h2>Stability Level</h2>
<acronym title="Unstable interfaces are experimental or transitional. They are typically used to
give outside developers early access to new or rapidly changing technology, or
to provide an interim solution to a problem where a more general solution is
anticipated. No claims are made about either source or binary compatibility from
one minor release to the next.

The Unstable interface level is a warning that these interfaces are  subject to
change without warning and should not be used in unbundled products.

Given such caveats, customer impact need not be a factor when considering
incompatible changes to an Unstable interface in a major or minor release.
Nonetheless, when such changes are introduced, the changes should still be
mentioned in the release notes for the affected release.
"><span class="acronym">Unstable</span></acronym>, unless otherwise indicated
</div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody><tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="cheese-Initializing-libcheese-gtk.html#cheese-gtk-init" title="cheese_gtk_init ()">cheese_gtk_init</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;cheese/cheese-gtk.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.description"></a><h2>Description</h2>
<p>Call <a class="link" href="cheese-Initializing-libcheese-gtk.html#cheese-gtk-init" title="cheese_gtk_init ()"><code class="function">cheese_gtk_init()</code></a> to initialize libcheese-gtk.</p>
</div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="cheese-gtk-init"></a><h3>cheese_gtk_init ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
cheese_gtk_init (<em class="parameter"><code><span class="type">int</span> *argc</code></em>,
                 <em class="parameter"><code><span class="type">char</span> ***argv</code></em>);</pre>
<p>Initialize libcheese-gtk, by initializing Clutter, GStreamer and GTK+. This
automatically calls <a class="link" href="cheese-Initializing-libcheese.html#cheese-init" title="cheese_init ()"><code class="function">cheese_init()</code></a>, initializing libcheese.</p>
<div class="refsect3">
<a name="cheese-gtk-init.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>argc</p></td>
<td class="parameter_description"><p>pointer to the argument list count. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>argv</p></td>
<td class="parameter_description"><p>pointer to the argument list vector. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="cheese-gtk-init.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if the initialization was successful, <code class="literal">FALSE</code> otherwise</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="cheese-Initializing-libcheese-gtk.other_details"></a><h2>Types and Values</h2>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.29.1</div>
</body>
</html>